﻿@using Resources;
@{   
   // Layout = "~/Views/Shared/Layaout/general/_LayoutPopGeneral.cshtml";
    Layout = "~/Views/Shared/Layaout/general/_LayoutGeneralTabV2.cshtml";        
}

<script type="text/javascript">
    $(function () {
        $("#tabs").tabs({
            beforeLoad: function (event, ui) {
                ui.jqXHR.error(function () {
                ui.panel.html("Cargando....");
                });
            }
        });
    });   
</script>
<input  type="hidden" id="nIdeEmpresa"  value="@ViewBag.nIdeEmpresaCSM"  />
<div id="tabs">
  <ul>
    <li>@Html.ActionLink("Datos Empresa","../../Persona/ManteEmpresa/regDatosEmpresaInp", new {nIdeEmpresaCSM=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li>
    @*<li>@Html.ActionLink("Dirección","../../Persona/ManteEmpresa/regDireccionEmpresaInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg}) </li>
    <li>@Html.ActionLink("Contactos","../../Persona/ManteEmpresa/regDatosContactoInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li>
    <li>@Html.ActionLink("Teléfonos","../../Persona/ManteEmpresa/regDatosTelefonoInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li>
    <li>@Html.ActionLink("Correos","../../Persona/ManteEmpresa/regDatosCorreoInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li> 
    <li>@Html.ActionLink("Vinculos","../../Persona/ManteEmpresa/regDatosVinculoInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li>
    <li>@Html.ActionLink("Acciones","../../Persona/ManteEmpresa/regDatosAccionInp", new {nIdeEmpresa=@ViewBag.nIdeEmpresaCSM,swReg=ViewBag.swReg})</li>      *@
  </ul>  
</div>
<br />
<input type="button" value="Nueva" onclick="javascript: addPersonaJuridicaPop('@ViewBag.swReg',this);" />